import request from '@/utils/request'
/**
 * 列表
 * @param {*} data
 */
export function queryUserList(data) {
  return request({
    url: 'crm/hpCrmLeadsSet/queryUserList',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}
export function addOrupdate(data) {
    return request({
      url: 'crm/hpCrmLeadsSet/addOrupdate',
      method: 'post',
      data: data,
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      }
    })
  }
/**
 * 
 * @param {*} data
 *
 */
export function queryByIdAPI(id) {
  return request({
    url: 'crm/hpCrmLeadsSet/queryById/{id}',
    method: 'get',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}


